  <!--sidebar start-->
      <aside>
          <div id="sidebar"  class="nav-collapse ">
              <!-- sidebar menu start-->
              <ul class="sidebar-menu" id="nav-accordion">
              
                  <p class="centered"><a href="<{echo Common::RewriteUrl("Tenantadmin","index");}>"><img src="<{$tenant["thumb"]}>" class="img-circle" width="60"></a></p>
              	  <h5 class="centered">租户后台</h5>
              	 
                  <li class="sub-menu">
                       
                      <a class=""  href="javascript:void(0);">
                          <i class="fa fa-user"></i>
                          <span>个人信息管理</span>
                      </a>
           
                       <ul class="sub jpsubmenu">

                      <li class="">
                         
                
                          <a  href="<{echo Common::RewriteUrl("Tenantadmin","index");}>" class="">
                              <i class="fa fa-angle-double-right jpangledouble"></i>
                              我的信息
                          </a>
                         
                      </li>
                    
                       </ul>
                    
                  </li>
                  
                  
                  <li class="sub-menu">
                       
                      <a  href="javascript:void(0);" >
                          <i class="fa fa-envelope"></i>
                          <span>站内信</span>
                      </a>
           
                       <ul class="sub jpsubmenu">

                      <li class="<{echo Common::T_Is_Active("Tenantadmin/recvlist");}>">
                         
                
                          <a href="<{echo Common::RewriteUrl("Tenantadmin","recvlist");}>">
                              <i class="fa fa-angle-double-right jpangledouble"></i>
                              收件箱
                          </a>
                         
                      </li>
                      
                       <li class="<{echo Common::T_Is_Active("Tenantadmin/sendlist");}>">
                         
                
                          <a  href="<{echo Common::RewriteUrl("Tenantadmin","sendlist");}>">
                              <i class="fa fa-angle-double-right jpangledouble"></i>
                              发件箱
                          </a>
                         
                      </li>
                    
                       </ul>
                    
                  </li>
              
                  
                  <li class="sub-menu">
                       
                      <a class=""  href="javascript:void(0);">
                          <i class="fa fa-home"></i>
                          <span>租房</span>
                      </a>
           
                       <ul class="sub jpsubmenu">

                      <li class="<{echo Common::T_Is_Active("Tenantadmin/canrentlist");}><{echo Common::T_Is_Active("Tenantadmin/roomlist");}><{echo Common::T_Is_Active("Tenantadmin/orderadd");}>">
                         
                
                          <a  href="<{echo Common::RewriteUrl("Tenantadmin","canrentlist");}>" class="">
                              <i class="fa fa-angle-double-right jpangledouble"></i>
                              租房信息
                          </a>
                          
                         
                      </li>
                        <li class="<{echo Common::T_Is_Active("Tenantadmin/fangzulist");}><{echo Common::T_Is_Active("Tenantadmin/fangzupay");}>">
                             <a  href="<{echo Common::RewriteUrl("Tenantadmin","fangzulist");}>" class="">
                              <i class="fa fa-angle-double-right jpangledouble"></i>
                              房租
                          </a>
                       </li>
                    
                       </ul>
                    
                  </li>
                  

              </ul>
              <!-- sidebar menu end-->
          </div>
      </aside>
      <!--sidebar end-->
      
      
      <script>
          $(document).ready(function(){
              $(".jpsubmenu").each(function(){
                  var act=$(this).find("li.active");
                  if(act.length>0){
                      $(this).prev("a").addClass("active");
                  }
              });
          });
      </script>